package com.iemes.mapper;

import com.iemes.entity.ChildFormMap;
import com.iemes.entity.OrderFormMap;
import com.iemes.entity.StockbillinfoFormMap;
import com.iemes.entity.WorkshopForMap;
import com.iemes.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper {
    //获取所有数据
    List<OrderFormMap> findOrderList();
    //根据id来进行查询
    OrderFormMap selectOrder(@Param("ofid") String ofid);
    //模糊查询数据
    List<OrderFormMap> selectOrderData(@Param("name") String name, @Param("conditions") String conditions);
    //在根据成品id查询物料表
    List<ChildFormMap> findChild(@Param("item_bom_no") String item_bom_no);
    //查询用用户名查询id
    String findStockName(@Param("itemName") String itemName);
    //在根据id查询数据
    List<OrderFormMap> findOrderListId(@Param("stockid") String stockid);
    //根据物料名称来进行查询
    String findLyBom(@Param("bomName") String bomName);
    //查询成品信息
    String findLyBomId(@Param("id") String id);


}
